package com.nobug.arrange.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * @Auther: wangweilin
 * @Date: 2021/8/17 15:38
 * @Description: 班级
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode()
@TableName("arr_classes")
public class ClassesEntity implements Serializable {
    private static final long serialVersionUID = 8807403170734324589L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private BigInteger id;
    //班级code
    @TableField("classCode")
    private String classCode;
    //班级名称
    @TableField("className")
    private String className;
    //班级人数
    @TableField("number")
    private Integer number;

}
